<form class="form-horizontal" [formGroup]="formModel" (submit)="onSubmit()">
  <div class="form-group">
    <label for="title" class="control-label col-md-2">标题</label>
    <div class="col-md-10">
      <input type="text" id="title" name="title" class="form-control" placeholder="标题" formControlName="title">
    </div>
  </div>
  <div class="form-group">
    <label for="content" class="control-label col-md-2">内容</label>
    <div class="col-md-10">
      <textarea id="content" name="content" class="form-control" placeholder="内容" formControlName="content"></textarea>
    </div>
  </div>
  <div class="form-group clearfix">
    <div class="col-md-offset-2 col-md-10">
      <button class="btn" type="submit">新建</button>
    </div>
  </div>
</form>
